package net.chasing.retrofit.bean.base;

public class ResponseResult<T> {
    private int code;//32位无符号整型   1 为请求成功
    private String msg;//字符串或json数组	状态说明信息
    private long time;//32位无符号整型	请求响应时间戳
    private int encry;//整型 0 or 1	data是否加密 1：加密 0：不加密
    private T data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getEncry() {
        return encry;
    }

    public void setEncry(int encry) {
        this.encry = encry;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}